<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="box">box</div>
</body>
<script src="./jquery.js"></script>
<script src="./jquery.namespace.js"></script>
<script>
    $(".box").namespace({fn:"init",txt:"我是前端大咖"})
    $(".box").namespace({fn:"show"})
</script>
</html>